package DBLayer;
import ModelLayer.*;
import java.util.ArrayList;


public interface IFDBProduct {
    // get all Department
    public ArrayList<Product> getAllProducts(boolean retriveAssociation);
    //get one Departmen having the dno
    public Product findProduct(int productID, boolean retriveAssociation);
    //find one department having the department name 
    public Product searchProductOnName( String name, boolean retriveAssociation);
    //insert new department
    public int insertProduct(Product prod);
    //update department
    public int updateProduct(Product prod);
    //delete department
    public int deleteProduct(int productID);
    
}